package com.duowei.diandan.db.entry;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

import org.joda.time.LocalDateTime;

/**
 * 买赠/加价促销设置明细信息
 */
@SuppressWarnings("ALL")
@Entity
public class Mzszmxxx {
    @PrimaryKey(autoGenerate = true)
    private long id;

    private String xh;
    private String bm;
    private String lbbm;
    private String lbmc;
    private String xmbh;
    private String xmmc;
    private Float sl;
    private String dw;
    private String mxby1;
    private String mxby2;
    private Float mxby3;
    private Float mxby4;
    private LocalDateTime mxby5;
    private String bz;
    private Float xsjg;

    public Mzszmxxx() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getLbbm() {
        return lbbm;
    }

    public void setLbbm(String lbbm) {
        this.lbbm = lbbm;
    }

    public String getLbmc() {
        return lbmc;
    }

    public void setLbmc(String lbmc) {
        this.lbmc = lbmc;
    }

    public String getXmbh() {
        return xmbh;
    }

    public void setXmbh(String xmbh) {
        this.xmbh = xmbh;
    }

    public String getXmmc() {
        return xmmc;
    }

    public void setXmmc(String xmmc) {
        this.xmmc = xmmc;
    }

    public Float getSl() {
        return sl;
    }

    public void setSl(Float sl) {
        this.sl = sl;
    }

    public String getDw() {
        return dw;
    }

    public void setDw(String dw) {
        this.dw = dw;
    }

    public String getMxby1() {
        return mxby1;
    }

    public void setMxby1(String mxby1) {
        this.mxby1 = mxby1;
    }

    public String getMxby2() {
        return mxby2;
    }

    public void setMxby2(String mxby2) {
        this.mxby2 = mxby2;
    }

    public Float getMxby3() {
        return mxby3;
    }

    public void setMxby3(Float mxby3) {
        this.mxby3 = mxby3;
    }

    public Float getMxby4() {
        return mxby4;
    }

    public void setMxby4(Float mxby4) {
        this.mxby4 = mxby4;
    }

    public LocalDateTime getMxby5() {
        return mxby5;
    }

    public void setMxby5(LocalDateTime mxby5) {
        this.mxby5 = mxby5;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public Float getXsjg() {
        return xsjg;
    }

    public void setXsjg(Float xsjg) {
        this.xsjg = xsjg;
    }

    public static String querySql() {
        return "SELECT xh, bm, lbbm, lbmc, xmbh, xmmc, sl, dw, mxby1, mxby2, mxby3, mxby4, " +
                "mxby5, bz, xsjg FROM MZSZMXXX|";
    }
}
